// ignore_for_file: depend_on_referenced_packages

import 'package:flutter_2b_client/model/IntIdAndName.dart';
import 'package:retrofit/http.dart';
import 'package:dio/dio.dart';

import 'Initial.dart';

part 'GoodsCategoryApi.g.dart';

@RestApi()
abstract class GoodsCategoryApi {
  factory GoodsCategoryApi(Dio dio, {String baseUrl}) = _GoodsCategoryApi;

  @GET("goodsCategories")
  Future<List<IntIdAndName>> getAllGoodsCategories();
}

GoodsCategoryApi goodsCategoryApi = GoodsCategoryApi(dio, baseUrl: baseUrl);

